home *** CD-ROM | disk | FTP | other *** search
/ PC Home 109 / PC Home 109.iso / data1.cab / Program_Files / sspeare.dxr / 00004.ls < prev    next >
Encoding:
Text File  |  2001-03-02  |  991 b   |  38 lines

  1. on enterFrame
  2.   global gcount, gDone, counter2
  3.   if gDone = 1 then
  4.     playSound(1, "right")
  5.     set gDone to 0
  6.     set gcount to 1
  7.   end if
  8.   repeat with n = 4 to 14
  9.     set the visible of sprite n to 1
  10.   end repeat
  11.   repeat with n = 25 to 35
  12.     set the visible of sprite n to 0
  13.   end repeat
  14.   put counter2 into field "counter2"
  15.   if counter2 <= 9 then
  16.     set the memberNum of sprite 37 to counter2 + 49
  17.   else
  18.     if counter2 <= 99 then
  19.       set the memberNum of sprite 38 to char 1 of field "counter2" + 49
  20.       set the memberNum of sprite 37 to char 2 of field "counter2" + 49
  21.     else
  22.       if counter2 <= 999 then
  23.         set the memberNum of sprite 39 to char 1 of field "counter2" + 49
  24.         set the memberNum of sprite 38 to char 2 of field "counter2" + 49
  25.         set the memberNum of sprite 37 to char 3 of field "counter2" + 49
  26.       end if
  27.     end if
  28.   end if
  29.   updateStage()
  30.   repeat with x = 60 to 78
  31.     handcursor(x)
  32.   end repeat
  33. end
  34.  
  35. on exitFrame
  36.   go(the frame)
  37. end
  38.